{include file="header.tpl" }
<table width="98%" cellspacing=0 cellpadding=0 align=center>
  <tr>
    <td align=left> <b><A href="{$index_url}"><img src='{#t_images#}navi.gif' border=0 alt="">{$html_title}</A> &gt;&gt; 搜 索</b></td>
  </tr>
</table>
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<table width="98%" border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
  <td height="50%" valign="top"><form name="form1" method="post" action="">
    <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="i_table">
      <tr >
        <td colspan="2" class="head">搜索目标</td>
      </tr>
      <tr >
        <td width="50%">&nbsp;&nbsp;&nbsp;商品关键词<br>
    &nbsp;&nbsp;&nbsp;
          <input name="goods_name" type="text">
          <br>
    &nbsp;&nbsp;&nbsp;
          <input name="method" type="radio" value='OR' checked>
          部分匹配&nbsp;&nbsp;
          <input name="method" type="radio" value='AND'>
      完全匹配（2个字节以上,多关键词用 | 分开）</td>
        <td width="50%" valign="top">&nbsp;&nbsp;&nbsp;商铺搜索<br>
    &nbsp;&nbsp;&nbsp;在
    <select name="shopcondition">
      <option value="shop_name">商铺名称</option>
      <option value="shop_location">商铺地址</option>
      <option value="shop_catalog">经营范围</option>
    </select>
    里查找
    <input name="shop_name" type="text"></td>
      </tr>
      <tr >
        <td colspan="2" class="head">搜索范围</td>
      </tr>
      <tr >
        <td height="14">&nbsp;&nbsp;&nbsp;商品类别<br>
    &nbsp;&nbsp;&nbsp;
          <select name="cid" class="form">
            
         {html_options values=$cat_id  output=$cat_name}
                          
        </select></td>
        <td height="14" valign="top">&nbsp;&nbsp;&nbsp;上架时间/开业时间<br>
    &nbsp;&nbsp;&nbsp;
          <select name=sch_time>
            <OPTION value='all'>搜索所有时间</OPTION>
            <OPTION value='86400'>1天内的时间</OPTION>
            <OPTION value='172800'>2天内的时间</OPTION>
            <OPTION value='604800'>1星期内的时间</OPTION>
            <OPTION value='2592000'>1个月内的时间</OPTION>
            <OPTION value='5184000'>2个月内的时间</OPTION>
            <OPTION value='7776000'>3个月内的时间</OPTION>
            <OPTION value='15552000'>6个月内的时间</OPTION>
            <OPTION value='31536000'>1年内的时间</OPTION>
          </select>
        </td>
      </tr>
      <tr >
        <td height="7">&nbsp;&nbsp;&nbsp;结果排序:</td>
        <td height="7" valign="top">&nbsp;</td>
      </tr>
      <tr >
        <td height="4">&nbsp;&nbsp;&nbsp;<span class="f_one">
          <select name=orderway>
            <option value="0">时间</option>
            <option value="1">人气</option>
              </select>
          <input type=radio name='asc' value='ASC' checked>
      升序
      <input type=radio name='asc' value='DESC' checked>
      降序 </span></td>
        <td height="4" valign="top">&nbsp;</td>
      </tr>
      <tr >
        <td height="4" colspan="2" align="center"><table width="100%">
          <TR align=center bgcolor="#FFFFFF">
            <TD height="1"></TD>
          </TR>
        </TABLE>
        <input type="submit" name="Submit" value=" 提 交 ">&nbsp; <input type="reset" name="Submit2" value=" 重 置 ">
          <input name="code" type="hidden" id="code" value="dosearch">
          <input name="act" type="hidden" id="act" value="Search"></td>
        </tr>
    </table>

  </form>   
  </td>
</tr>
</table>
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Diamond.tpl"}
<table width="100%">
  <TR align=center bgcolor="#FFFFFF">
    <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Info.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
</td></tr></table>
{include file="footer.tpl"}